package com.xxkk.gameCore.data.Item;

import com.xxkk.utils.DocumentBuilder;
import org.apache.log4j.Logger;
import org.dom4j.Element;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author xxkk
 * @version 1.0.0
 * @title ItemData
 * @description ʕ•ᴥ•ʔ
 * @create 2023/12/25 09:28
 **/
public class ItemData {
    private static  final Logger logger = Logger.getLogger(ItemData.class);
    private Map<Integer,String> itemMap = new HashMap<>();
    private void initItemXml(){
        try{
            String url = "";
            List<Element> elements = DocumentBuilder.build(url);
            for (Element e:elements){
                e.elementText("xxkk");
            }
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
